@charset "utf-8";

@import "../../src/less/quote/class.less";
@import "../../src/less/quote/color.less";

//table列表页面暂时放在这里后期共用comment.less中

.table-a{
  .t-head{
    th{
      .iconfont{
        position: relative;top:2px;
        margin-left: 2px;
        font-size: 12px;
        font-weight: 100;
      }
      .first,.last,.reply{
        cursor: pointer;
      }
    }
  }
}

#img{
  height:calc(100vh - @val-a);
  position: relative;
  background: @cf;
  .layout-processed{
    .header{
      height: 60px;
    }
    position: relative;
    background: @cf;
    //height: calc(100% - 185px);
    height: calc(100% - @val-b);
    .data-box{
      overflow-y:auto;
      overflow-x: hidden;
      height: calc(100% - 115px);
      width: 100%;
      padding:0 20px;
      .box-img{
        width:100%;
        padding:10px;
        border: 1px solid @ceb;
        border-radius:5px;
        overflow: hidden;
        background-color: @cf9;
        .img-title{margin-bottom:12px;line-height: 1;font-weight: bold;height: 25px;}
        .img-content{
          height:80px;
          flex-wrap: nowrap;
          word-break: break-all;
          overflow-y:auto;
          img{
            height:100%;
            cursor: pointer;
            margin-right: 15px;
          }
          embed{
            height: 100%;
            overflow: hidden;
            max-width: 30%;
            margin-right: 15px;
          }
          a{color:blue;text-decoration: underline;}
        }
      }
    }
  }

  //当前强制覆盖
  .row{
    margin-left:-10px;
    margin-right: -10px;
    &>[class*=col-]{
      padding:10px;
    }
  }

  //预览按钮
  .preview-button{
    background: @main-c;
    color: @cf;
    padding: 2px 5px;
    border-radius: 3px;
  }

}

.media{
  padding:10px;
  text-align: center;
  .preview{
    max-width: 100%;
    min-width: 60%;
  }
  img.preview{
    overflow: hidden;
  }
  embed.preview{
    width: 100%;
    min-height: 700px;
  }
}